import "../../css/home.scss";
import des from "./desConfig";
let arr = Array.from(new Array(30));

let list = [];
des.map((item, index) => {
    list.push({des:item,url:require(`../../assets/logo/logo${index + 1}.png`)});
})
export default class Index extends React.PureComponent{
    constructor(props){
        super(props);
    }
    render(){
        return(
            <div id = "logoWall" className = {"logo-wall"}>
                <div className={"title"}>已入驻的伙伴</div>
                <ul className = "logo-ul">
                    {
                        list.map((item,index)=>{
                            return(
                                <li className = "vivify duration-2000 logo-wall-list" key = {`logo-wall-${index}`}>
                                    <img src={item.url} alt=""/>
                                    <div className = "wall-mask">
                                        <div>{item.des}</div>
                                    </div>
                                </li>
                            )
                        })
                    }
                </ul>
                
            </div>
        )
    }
}